package org.example.taskmaster.sorters;

import org.example.taskmaster.database.DatabaseAdapter;

public class AlphabeticalSorter extends Sorter {

	public AlphabeticalSorter() {
		super();
		type = Sorter.ALPHABETIC;
	}
	@Override
	public String orderBy() {
		String desc = "";
		if (sortDescending == 1) {
			desc = " DESC";
		}
		return DatabaseAdapter.KEY_NAME + desc ;
	}

}
